package net.yxsoft.bean;

/**
 * @author Administrator
 */
public class SqlStringFactroy {
  private String sqlExecute;
  private String sqlSum;
  private boolean ifTotal;
  private boolean typeTotal;

  private String[] Colnum;
  private String[] Head;

  public SqlStringFactroy(boolean ifTotal){

    setIfTotal(ifTotal);
    setTypeTotal(ifTotal);
  }

  public String getSqlExecute() {
    return sqlExecute;
  }

  public void setSqlExecute(String sqlExecute) {
    this.sqlExecute = sqlExecute;
  }

  public String getSqlSum() {
    return sqlSum;
  }

  public void setSqlSum(String sqlSum) {
    this.sqlSum = sqlSum;
  }

  public String[] getColnum() {
    return Colnum;
  }

  public void setColnum(String[] colnum) {
    Colnum = colnum;
  }

  public String[] getHead() {
    return Head;
  }

  public void setHead(String[] head) {
    Head = head;
  }

  public boolean isIfTotal() {
    return ifTotal;
  }

  public void setIfTotal(boolean ifTotal) {
    this.ifTotal = ifTotal;
  }

  public boolean isTypeTotal() {
    return typeTotal;
  }

  public void setTypeTotal(boolean typeTotal) {
    this.typeTotal = typeTotal;
  }
}
